package sun.cn.common.cacheDto.constants;

/**
 * @author sunlingao
 * @title 常量申明
 * @date 2017年7月5日
 * @version
 */
public class Constants {

    private Constants(){}

    /**
     * 每页记录数
     */
    public static final int PAGE_SIZE = 20;

    /**
     * 可并行资源数
     */
    public static final int AVAI_RUN = Runtime.getRuntime().availableProcessors();

    /** crud操作 */
    public static final String UPDATE = "update";

    public static final String GET = "get";

    public static final String SAVE = "save";

    public static final String DELETE = "delete";

    public static final String SEARCH = "search";

}
